package 循环;

public class demo19 {
    public static void main(String[] args) {
        for (int i=1;i<=5;i++){
            for (int j=1;j<=i-1;j++){
                System.out.println(" ");
            }
            for (int j=1;j<=(6-i)*2-1;j++){
                System.out.println("*");
            }
            System.out.println();
        }
    }
}
